package de.dailab.graphworld.ontology;

import de.dailab.jiactng.agentcore.knowledge.IFact;
import de.dailab.jiactng.agentcore.ontology.IAgentDescription;

/**
 * This message carries some registration info useful for the broker (agent type
 * and reference) and is being called by scouts and carriers in reply on
 * {@link RegistrationRequest}.
 *
 * @author Kseniya
 */
public class Registration implements IFact {

    public final String aliveReply = "The cake is a lie!";
    private IAgentDescription agent;
    private AgentType type;

    public Registration(IAgentDescription agent, AgentType type) {
        this.agent = agent;
        this.type = type;
    }

    public IAgentDescription getAgent() {
        return agent;
    }

    public void setAgent(IAgentDescription agent) {
        this.agent = agent;
    }

    public AgentType getType() {
        return type;
    }

    public void setType(AgentType type) {
        this.type = type;
    }
}
